$(function(){
    $.ajax({
        type:"POST",
        url:"/getrealname",
        // dataType:"json",
       contentType:"application/json",
        data:{},
        success:function (data) {
            $(".user_name").html(data);
        }
    });
    $.ajax({
        type:"POST",
        url:"/getheadimage",
        // dataType:"json",
        contentType:"application/json",
        data:{},
        success:function (data) {
            $(".user_head_img").attr("src",data);
        }
    });
});